package rm.mk.data;

public class Route {
	
	private int destination;
	private int cost;
	
	public Route(){
		
	}
	
	public Route(int destination) {
		super();
		this.destination = destination;
	}
	
	public Route(int destination, int cost) {
		super();
		this.destination = destination;
		this.cost = cost;
	}
	
	public Route(String destination, String cost) {
		super();
		this.destination = Integer.parseInt(destination);
		this.cost = Integer.parseInt(cost);
	}
	
	
	public int getDestination() {
		return destination;
	}
	public void setDestination(int destination) {
		this.destination = destination;
	}
	public int getCost() {
		return cost;
	}
	public void setCost(int cost) {
		this.cost = cost;
	}
	
	
}
